package cn.kongwg.demo06;

/**
 * @author kongwg
 * @create 2021-06-24 22:50
 */
public class ClassA {
    private String name = "a";

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public ClassA() {
        System.out.println("helloA");
    }
    {
        System.out.println("i m class a");
    }
    static {
        System.out.println("static a");
    }
}
